package com.framework.loippi.dao;

import com.framework.loippi.entity.NoticeToUser;
import com.framework.loippi.mybatis.dao.GenericDao;
import java.util.List;

/**
 * DAO - NoticeToUser(通知消息用户关联表)
 * 
 * @author wmj
 * @version 2.0
 */
public interface NoticeToUserDao  extends GenericDao<NoticeToUser, Long> {
	List<NoticeToUser> findListByPage(Object parameter);
        Long deletes(Object parameter);

    List<NoticeToUser> findByUserId(Long userId);

    List<NoticeToUser> findNoticeUserByUserId(Long userId);

    Long countUnreadNotice(Long userId);
}
